package base.java9_17;

/**
 * 过期声明(只会出现警告,不会影响执行)
 *
 * @author 王霄
 * @date 2021/9/16 22:12
 */
@Deprecated
public class DeprecatedDemo {

    public static void main(String[] args) {
        A a = new A();
        System.out.println(a);
    }

    @Deprecated
    public static class A {

    }
}
